<%@ include file="header.jsp" %>
<body>
<div style='color: #00829d;text-decoration: none;font-family: Arial;font-size: 14px;'> 
<h2 align="center">Registration</h2>
<div align="center" style="color:red;">${mesPass}</div>
<div align="center" style="color:red;">${messageNok}</div>
<div align="center" style="color:green;">${messageOk}</div>
	<div align="center" style="width=200px; color: #00829d;text-decoration: none;font-family: Arial;font-size: 14px;">
		<p>Choose a pseudo and a password to sign up</p>
		<form action ="/registersubmit" method="post">
			<table>
				<tr>
					<td style="text-align:right;"><label for="identifier">Pseudo :</label></td>
					<td><input type="text" name="identifier" required="required" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><label for="name">Name :</label></td>
					<td><input type="text" name="name" required="required" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><label for="firstname">Firstname :</label></td>
					<td><input type="text" name="firstname" required="required" /></td>
				</tr>
				<tr>
					<td style="text-align:right;"><label for="password" >Password :</label></td>
					<td><input type="password" name="password" required="required"/></td>
				</tr>
				<tr>
					<td style="text-align:right;">
						<label for="sex" >Sex :</label>
					</td>
					<td>
						<input type="radio" name="sex" value="M" checked/>M</input>
						<input type="radio" name="sex" value="F"/>F</input>
					</td>
				</tr>
			</table>
			<br>
			<input id ="ryc" class="image-login" type="submit" value="Sign up"/>
		</form>
	</div>
</div>
</body>
</html>